/*课程*/
body{
    background-color: #fff
}
.course-header{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 44px;
    line-height: 44px;
    padding-left: 12px;
    z-index: 9;
    background-color: #fff;
}
.course-header .header-menu a{
    position: relative;
    display: inline-block;
    font-weight: bold;
    padding-right: 24px;
}
.course-header .header-menu a.active,.course-header .header-menu a:hover{
    color: #ff5c38;
}
.course-header .header-menu a.active:before{
    position: absolute;
    content: '';
    left: 20%;
    transform: translateX(-20%);
    bottom: 0;
    width: 12px;
    height: 4px;
    border-radius: 2px;
    background-color: #ff5c38;
}
.filter-btn{
    position: absolute;
    right: 0;
    top: 0;
    width: 84px;
    height: 44px;
    text-align: center;
    line-height: 44px;
    color: #999;
    font-weight: bold;
    font-size: 16px;
}
.filter-btn .van-icon{
    font-size: 18px;
    font-weight: bold;
    margin-right: -4px;
    vertical-align: -1px;
    color: #999;
}
.banner-item{
    margin: 48px 12px 12px 12px;
}
.banner-item img{
    border-radius: 8px;
}
.course-list-wrap{
    margin-top: 24px;
}
/*详情页面*/
.course-view .course-list{
    margin: 0;
    padding: 12px;
    overflow: hidden;
}
.course-view .course-info{
    width: calc(100% - 78px);
    padding: 0 0 0 12px;
}
.course-view .course-price{
    background: none;
    font-size: 18px;
    font-weight: bold;
    height: 18px;
    line-height: 18px;
    text-align: left;
}
.info-item{
    padding: 12px;
    overflow: hidden;
    border-bottom: 12px solid #f3f5f7;
    font-size: 14px;
}
.info-item .info-item-title{
    float: left;
    color: #B7BBBF;
    padding-right: 16px;
}
.info-item>div{
    float: left;
    display: flex;
    width: calc(100% - 45px);
}
.info-item .content-item{
    display: inline-block;
    padding-right: 16px;
    flex: 1;
}
.info-item .content-item dt{
    color:#71777d
}
.info-item .content-item dd{
    color: #2B333B;
    margin-top: 6px;
    font-weight: 600;
    overflow: hidden;
}
.course-view-header img{
    width: 100%;
}
.course-view-body .van-tabs{
    padding-bottom: 50px;
}
.course-view-body .van-tabs__wrap{
    border-bottom: 1px solid #f2f2f2;
}
.course-view-body .van-tab--active{
    font-weight: bold;
}
.van-tabs__line{
    width: 20px;
    height: 4px;
    border-radius: 2px;
    background-color: #ff5c38;
}
.course-view-info{
    padding: 12px 12px 0;
    overflow: hidden;
    border-bottom: 1px solid #f6f6f6;
}
.course-view-footer .van-goods-action{
    max-width: 750px;
    margin: 0 auto;
}
.course-view-info .course-title{
    font-size: 18px;
    font-weight: bold;
}
.course-view-info .course-rate{
    margin: 12px 0;
    font-size: 14px;
}
.course-view-info .course-rate .view-count {
    margin-left: 14px;
    color: #999;
}
.course-view-info .course-teacher span{
    font-size: 14px;
    margin-right: 14px;
}
.course-view-info .course-price{
    margin: 12px 0;
}
.course-view-info .course-price span{
    font-size: 24px;
    color: #ff1d00;
    margin-right: 6px;
    font-weight: bold;
}
.course-view-des{
    padding: 12px;
}
.course-view-des .course-txt-body{
    margin: 12px 0;
    line-height: 180%;
}
.course-view-step{
    padding: 0 12px 24px;
}
.step-item dt{
    margin: 18px 0 6px;
}
.step-item dd a{
    position: relative;
    display: block;
    height: 44px;
    line-height: 44px;
    padding-left: 36px;
    clear: both;
    font-size: 15px;
}
.step-item dd a:hover{
    color: #44A4F8;
}
.step-item dd a:before{
    position: absolute;
    content: '';
    width: 16px;
    height: 16px;
    left: 12px;
    top: 15px;
    background: url("../images/icon-video.svg")no-repeat center;
    background-size: 100%;
}
.file-item dd a:before{
    top: 13px;
    background: url("../images/icon-file.svg")no-repeat center;
    background-size: 100%;
}
.step-item dd a:after{
    position: absolute;
    content: '';
    left: 36px;
    right: 0;
    bottom: 0;
    border-bottom: 1px solid #eaeaea;
}
.step-item .step-title{
    display: inline-block;
    float: left;
    width: calc(100% - 72px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.step-item .step-btn{
    display: inline-block;
    float: right;
    margin-top: 10px;
    background: rgba(212,142,5,.1);
    color: #D48E05;
    padding: 0 8px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 6px;
    font-size: 12px;
}
.step-item .study-btn{
    display: inline-block;
    float: right;
    margin-top: 10px;
    background: rgb(243, 255, 243);
    color: #029902;
    padding: 0 8px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 6px;
    font-size: 12px;
}
/*.comment-edit{//评论
    padding: 18px 12px;
    text-align: center;
    overflow: hidden;
    border-bottom: 10px solid #f6f6f6
}
.comment-edit p{
    margin-top: 6px;
    color: #999;
    font-size: 14px;
}
.comment-edit textarea{
    margin: 12px 0;
    width: 100%;
    height: 84px;
    font-size: 14px;
    line-height: 18px;
    padding: 6px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
}
.comment-list{
    padding: 12px;
}
.comment-list li{
    overflow: hidden;
    margin-bottom: 18px;
    padding-bottom: 6px;
    border-bottom: 1px solid #F3F5F6;
}
.comment-list .user-info{
    height: 44px;
    overflow: hidden;
}
.comment-list .user-info img{
    float: left;
    margin-right: 6px;
    width: 44px;
    height: 44px;
    border-radius: 100%;
}
.comment-list .name-box{
    float: left;
}
.comment-list .name-box .name{
    font-weight: bold;
    margin-bottom: 6px;
}
.comment-list .name-box .time{
    color: #B7BBBF;
    font-size: 12px;
}
.comment-list .star-box{
    float: right;
}
.comment-list .evaluation{
    clear: both;
    margin: 6px;
    font-size: 14px;
}*/
.content-author{
    text-align: justify;
    text-justify: distribute-all-lines;
    font-size: 14px;
    color: #999;
    line-height: 22px;
    padding-bottom: 20px;
}
.author-img{
    width: 124px;
    height: 124px;
    margin: 50px auto 20px;
}
.author-img img{
    width: 100%;
    height: 100%;
    border-radius: 100%;
}
.author-name{
    text-align: center;
    margin-bottom: 14px;
    color: #333;
    font-size: 18px;
}
.author-info{
    padding: 0 20px;
    text-indent: 28px;
    min-height: 100px;
    line-height: 180%;
}

/*播放页面*/
.video-content{
    overflow: hidden;
    height: 228px;
}
.video-content video{
    width: 100%;
    height: 220px;
}
.video-menu .van-tabs__wrap{
    margin-top: -5px;
    border-bottom: 1px solid #eaeaea;
}
.video-menu .van-tabs__content{
    overflow-y: auto;
}
.step-state{
    position: relative;
    float: right;
    margin: 15px 5px 0 0;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    border: 3px solid #e0e1e2;
}
.step-state.state-over{
    background-color: #44a4f8;
    border-color: #44a4f8;
}
.step-state.state-half{
    border: 1px solid #44a4f8;
}
.step-item .active .step-title{
    color: #44a4f8;
    font-weight: bold;
}
.step-state.state-half:after{
    position: absolute;
    content: '';
    left: 0;
    bottom: -1px;
    width: 12px;
    height: 7px;
    background-color: #44a4f8;
    border-radius: 0 0 100px 100px;
}
/*购买弹窗*/
.course-dialog{
    padding: 18px;
    min-height: 120px;
}
.course-dialog-img img{
    border-radius: 6px;
}
.course-dialog-info{
    padding: 12px 0;
}
.course-dialog-info p{
    font-size: 14px;
}
.course-dialog-gift{
    font-size: 14px;
    color: #999;
}
.course-dialog-price h3{
    display: inline-block;
    margin-right: 6px;
    color: #f86844;
    font-weight: normal;
}
.van-button--danger{
    background: -webkit-linear-gradient(left,#ff6034,#ee0a24);
    background: linear-gradient(to right,#ff6034,#ee0a24);
}
.user-golds{
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #dcdcdc;
}
.user-golds span{
    color: #ee0a24;
    font-weight: bold;
}